package com.learner.search;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author ice2020x
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@EntityScan(basePackages ={"com.learner.pojo.search"})
@ComponentScan(basePackages={"com.learner.common"})
@EnableDiscoveryClient
public class SearchApplication {

    public static void main(String[] args) throws Exception {
        SpringApplication.run(SearchApplication.class, args);
    }

}
